
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Scratch 2.0</title>
	<%= stylesheet_link_tag    "application" %>
	<%= javascript_include_tag "application" %>
	<%= csrf_meta_tags %>
	<META NAME="iic2515-2" CONTENT="2.0">
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<!-- Start menu css and js files here 
		// initialise plugins
		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});-->
</script>
<!-- End menu css and js files here -->
<!-- Begin featured slider css & js files -->
<!-- End featured slider css & js files -->
<!--[if IE 6]>
<script type='text/javascript' src='js/dd_belated_png.js'></script>
<script>DD_belatedPNG.fix('.pngfix');</script>
<![endif]-->

</head>
<body>
	<div id="user_nav">
	  <% if current_user %>
	    Iniciado como <%= current_user.email %>.
	    <%= link_to "Cerrar sesión", log_out_path %>
	  <% else %>
		<%= form_tag sessions_path do %>
		    <%= label_tag :login %>
		    <%= text_field_tag :login, params[:login] %>
		    <%= label_tag :password %>
		    <%= password_field_tag :password %>
		  <%= submit_tag "Iniciar sesión" %> 	
		<%end%>
		<%= link_to "Olvido su contraseña?", new_password_reset_path %> o
		<%= link_to "Crear una cuenta", sign_up_path %>
		<%= check_box_tag :remember_me, 1, params[:remember_me]  %>
		<%= label_tag :remember_me, "Recuerdame" %></br>
		
	  <% end %>
	</div>
<div class="header">
	<div class="bg">    <!--start:header -->
      <div class="container_16">
            <!--start:header container -->
            <!--start:logo -->
            <div class="grid_5"> 
			<%=image_tag "ornare/logo.png", :alt => "DesignPlus", :class =>"pngfix logo"%>
			</div>
            <!--end:logo -->
			<div class= "error">
			<% flash.each do |name, msg| %>
			  <%= content_tag :div, msg, :id => "flash_#{name}" %>
			<% end %>
			</div>

            <div class="grid_11">
                  <!--start:menu grid -->
                  <div class="top-menu pngfix">
                        <!--start:menu top-menu -->
                        <ul class="sf-menu">
                              <!--start:sf-menu -->
                              <li class="current"> <%= link_to "Home", home_path%> </li>
                              <li> <%=link_to "Post", posts_path%> </li>
                        </ul>
                        <!--end:sf-menu -->
                        <span class="rightcorner pngfix"></span> </div>
                  <!--end:menu top-menu -->
            </div>
            <!--end:menu grid -->
            <%= yield %>
      <div class="grid_5">
            <!--start:right content grid -->
            <div class="box-content">
                  <!--start:box-content -->
                  <!--End About me-->
                  <h2>About Us</h2>
                  <p>Aenean elementum urna leo, at mattis urna. Sed ligula arcu, condimentum quis congue sit amet, rhoncus a sapien. Phasellus ac tristique eros.<br />
				  <a href="aboutus.html" class="readmore rightalign">more..</a><br />
				  </p>
                  <br />
                  <!--End About me-->
                  <!--Start Featured work image-->
                  <h2>Featured Work</h2>
				  <%=image_tag "ornare/featured_work.jpg", :alt => "featured-image", :class =>"img_border"%>
                  <!--End Featured work image-->
                  <!--Start Twitter-->
                  <div class="twitter"> <%=image_tag "ornare/twitter.gif", :alt => "twitter"%>
                        <p>Aenean fermentum dictum odio eget suscipit. Cras sed enim diam, id eleifend purus. Proin varius sapien nec sapien </p>
                  </div>
                  <!--End Twitter-->
            </div>
            <!--end:box-content -->
      </div>
      <!--end:right content grid -->
</div>
<!--end:content container -->
<div class="clear"></div>
<!-- End middle content -->
<div class="footer">
      <!--start:footer -->
      <div class="container_16">
            <!--start:footer container -->
            <div class="footer_left">
                  <!--start:footer left part-->
                  <p> &copy; Copyright 2009 All Rights Reserved by <a href="#">Ornare.com</a></p>
	       </div>
            <!--start:footer left part-->
            <div class="footer_right">
                  <!--start:footer right part-->
                  <p>Designed and Developed by <a href="http://www.themeflash.com" target="_blank">Themeflash.com</a></p>
            </div>
            <!--end:footer right part-->
      </div>
      <!--end:footer container -->
</div>
<!--end:footer -->
</body>
</html>

